import '@/assets/main.scss'

import { createApp } from 'vue'
import pinia from './stores'
//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey ='AAPTxy8BH1VEsoebNVZXo8HurEpY-F4S0rTzprZc9F3sxlW5KdBrmppg0pg1lR6n4Kuw6alFKg3pfefcpuvnIyHWsvvuJT4H_-944rsB7eKdvnZ7taLsslhX6Hq_9u1d6-PSIKYMqfYbX5Okrufppfwl-hQTuBpl8ZK1oDKyFT84Tjjxo61mXiLCUz6FGzRI2QMIEYzb1ufxjQJR0ByO9o1er5phJp6fzkl4jDR61bSNlZ8MQ3M8oy-HATRIxzLlwwWFAT1_z7dXzftO'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
